home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / mipsbsd.h < prev    next >
C/C++ Source or Header  |  1993-09-17  |  709b  |  34 lines

  1. #include <stddef.h>
  2. #include <fcntl.h>
  3. #include <errno.h>
  4. #undef NULL /* XXX */
  5. #include <stdio.h>
  6. #include <sys/types.h>
  7. #include <sys/stat.h>
  8. #include <ctype.h>
  9. #include <string.h>
  10. #include <stdlib.h>
  11. #include <sys/file.h>
  12.  
  13. #ifndef    O_ACCMODE
  14. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  15. #endif
  16.  
  17. #define SEEK_SET 0
  18. #define SEEK_CUR 1
  19.  
  20. #include <machine/param.h>
  21. #include <machine/vmparam.h>
  22. #undef ALIGN
  23.  
  24. #define    HOST_PAGE_SIZE        NBPG
  25. /* #define    HOST_SEGMENT_SIZE    NBPG -- we use HOST_DATA_START_ADDR */
  26. #define    HOST_MACHINE_ARCH    bfd_arch_mips
  27. /* #define    HOST_MACHINE_MACHINE     */
  28.  
  29. #define    HOST_TEXT_START_ADDR        USRTEXT
  30. #define    HOST_STACK_END_ADDR        USRSTACK
  31. #define NO_CORE_COMMAND
  32.  
  33. #include "fopen-same.h"
  34.